import Vue from 'vue'
import VueRouter from 'vue-router'
import index from './index/index'
Vue.use(VueRouter)

let childrenRouter = []
// 合并路由
childrenRouter = childrenRouter.concat(index)
const router = new VueRouter({
  linkActiveClass: 'active',
  routes: childrenRouter
})

export default router
